how to create a block map